package cool.taomu.toolkit.jesery.controller

import javax.inject.Inject
import javax.inject.Named
import javax.ws.rs.GET
import javax.ws.rs.Path
import org.slf4j.LoggerFactory

@Path("kademlia")
class LogoController {
	
	val static LOG = LoggerFactory.getLogger(LogoController);
	
	@Inject
	@Named("taomu.test")
	String title = "F";

	@GET
	@Path("/index")
	def index() {
		LOG.info("*****/kademlia/index*****:{}",title);
		return "Hello Kademlia "+title;
	}
}
